﻿using Infrastructure.ExternalService.Core.Requests;
using Infrastructure.ExternalService.Core.Responses;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Infrastructure.ExternalService.Core.CommonResources
{
    public interface ICommonResourcesClient
    {
        /// <summary>
        /// 获取公司主体列表
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        Task<List<CompanyResponse>> GetCompanyList(GetCompanyRequest request);


        /// <summary>
        /// 获取主体下的账户
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        //Task<List<CompanyResponse>> GetAccountList(GetCompanyRequest request);
    }
}
